//  [9/9/2013 OMEGA] created

typedef	int ResultCode;

enum 
{
	RC_OK					= 0x0000,
	RC_ERROR				= 0X0001,
	RC_INVALID_PARAMETER	= 0x0002,
	RC_IO_FAILED_OPEN		= 0x0003,
	RC_IO_FAILED_READ		= 0x0004,
	RC_IO_FAILED_WRITE		= 0x0005,
	RC_FILE_INCOMPLETE		= 0x0006,
	RC_FILE_CORRUPTED		= 0x0007,
	RC_FILE_FORMAT_INVALID	= 0x0008,
	RC_DIRECTORY_NOT_FOUND	= 0x0009,
	RC_DIRECTORY_INVALID	= 0x000a,
	RC_DIRECTORY_CREATION_FAILED	= 0x000b,

	RC_PROJECT_INVALID		= 0x0100,

	RC_GROUP_EXISTED		= 0x0200,
	RC_GROUP_INVALID		= 0x0201,
	RC_GROUP_NOT_FOUND		= 0x0202,

	RC_ARCHIVE_EXISTED		= 0x0300,
	RC_ARCHIVE_INVALID		= 0x0301,
	RC_ARCHIVE_NOT_FOUND	= 0x0302,

	RC_RESOURCE_EXISTED		= 0x0400,
	RC_RESOURCE_INVALID		= 0x0401,
	RC_RESOURCE_NOT_FOUND	= 0x0402
};